package com.yanqu.road.entity.activity.daomu.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_u_activity_daomu_user_offer_reward_data")
public class DaoMuActivityUserOfferRewardData extends DataObject {

    /**
     * 活动ID
     */
    private int activityId;
    /**
     * 玩家ID
     */
    private Long userId;
    /**
     * 关卡ID
     */
    private int passesId;
    /**
     * npcID
     */
    private int npcId;
    /**
     * 状态1未领取2已领取
     */
    private int status;

    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(Long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public Long getUserId() {
        return userId;
    }

    public void setPassesId(int passesId) {
        if (this.passesId != passesId) {
            this.passesId = passesId;
            setOp(DataStatus.Update);
        }
    }

    public int getPassesId() {
        return passesId;
    }

    public void setNpcId(int npcId) {
        if (this.npcId != npcId) {
            this.npcId = npcId;
            setOp(DataStatus.Update);
        }
    }

    public int getNpcId() {
        return npcId;
    }

    public void setStatus(int status) {
        if (this.status != status) {
            this.status = status;
            setOp(DataStatus.Update);
        }
    }

    public int getStatus() {
        return status;
    }
}
